using IQIGame.Onigao.Framework;
using System.Collections.Generic;

namespace IQIGame.Onigao.GamePlay
{
    public abstract class BaseDynMainCityEntity
    {
        public abstract int id { get; }
        public abstract int mcid { get; }
        public abstract int mapSymbolCid { get; }
        public abstract IReadOnlyList<int> offeredQuests { get; }
        public Vector3Int position { get; protected set; }
        /// <summary>
        /// 旋转
        /// </summary>
        public Vector3Int dirEuler { protected set; get; }

        public virtual void UpdatePos(UnityEngine.Vector3 unityPos)
        {
            position = GameMathUtil.UnityPos2LogicPosInt(unityPos);
        }
    }
}
